import com.study.tiger.StudyPractiseApplication;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.StringRedisTemplate;

/**
 * @Author: liutingting
 * @Date: 2022/3/7 000716:00
 * @Version: 1.0
 */
@SpringBootTest(classes = StudyPractiseApplication.class)
public class StudyPractiseTestApplication {

    @Autowired
    private StringRedisTemplate stringRedisTemplate;

    @Test
    public void testRedis(){
        String res = stringRedisTemplate.opsForValue().get("dev_TOKEN:PRI:KEY");
        System.out.println(res);
    }


}
